<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>硬件环境检测</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>LLM运行环境检测</h1>
        
        <div class="hardware-section" id="cpu-info">
            <h2>CPU信息</h2>
            <div class="info-line">
                <span class="label">型号：</span>
                <span class="value" id="cpu-name">加载中...</span>
            </div>
            <div class="info-line">
                <span class="label">核心/线程：</span>
                <span class="value" id="cpu-cores">-</span>
            </div>
        </div>

        <div class="hardware-section">
    <h2>内存信息</h2>
    <div class="info-line">
        <span class="label">总内存：</span>
        <span class="value" id="memory-total">-</span>
    </div>
    <div class="info-line">
        <span class="label">可用内存：</span>
        <span class="value" id="memory-available">-</span>
    </div>
</div>

<div class="hardware-section">
    <h2>存储信息</h2>
    <div class="info-line">
        <span class="label">总存储：</span>
        <span class="value" id="storage-total">-</span>
    </div>
    <div class="info-line">
        <span class="label">可用空间：</span>
        <span class="value" id="storage-free">-</span>
    </div>
</div>

<!-- 其他硬件信息区块 -->
        <div class="recommendation-section">
            <h2>模型推荐</h2>
            <div id="recommendations"></div>
        </div>
    </div>
    <script src="app.js"></script>
</body>
</html>